
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">

    <title>{$sysPageTitle}</title>

    <link href="__PUBLIC__/images/favicon.ico" rel="shortcut icon" />

    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="__PUBLIC__/css/bootstrap.min.css" />
    <link rel="stylesheet" href="__PUBLIC__/css/bootstrap-theme.min.css" />
    <link rel="stylesheet" href="__PUBLIC__/css/dashboard.css" />
    <link rel="stylesheet" href="__PUBLIC__/css/icheck/all.css" />
</head>

<body>

<include file="Common/topNav" />

<div class="container-fluid">
    <div class="row">
        <include file="Common/leftMenu" />
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <ul class="nav nav-pills">
                <li role="presentation" class="active" onclick="changeTab(this,'user-level')"><a href="JavaScript:void(0);">用户等级配置</a></li>
                <li role="presentation" onclick="changeTab(this,'seller-order')"><a href="JavaScript:void(0);">接单配置</a></li>
                <li role="presentation" onclick="changeTab(this,'buyer-order')"><a href="JavaScript:void(0);">抢单配置</a></li>
                <li role="presentation" onclick="changeTab(this,'user-credit')"><a href="JavaScript:void(0);">信誉值增减配置</a></li>
                <li role="presentation" onclick="changeTab(this,'order-review')"><a href="JavaScript:void(0);">评论标签配置</a></li>
                <li role="presentation" onclick="changeTab(this,'other')"><a href="JavaScript:void(0);">其它配置</a></li>
            </ul>
            <div style="margin-top: 20px;">
                <include file="user_level" />
                <include file="seller_order" />
                <include file="buyer_order" />
                <include file="credit" />
                <include file="order_review" />
                <include file="other" />
            </div>
        </div>
    </div>
</div>


<include file="Common/modalHtmls" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/bootstrap.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/icheck.min.js"></script>
<script type="text/javascript">
    function changeTab(obj,id) {
        $("#"+id).siblings().hide().end().show();
        $(obj).siblings().removeClass("active").end().addClass("active");
    }

    function doSet(form) {
        $.ajax({
            url: "{:U('Admin/SysSetting/set')}",
            type: "post",
            dataType: "json",
            data: $("#"+form).serialize(),
            success: function (data) {
                common.alert("提示",data.msg);
            }
        });
    }
</script>
</body>
</html>
